import request from '../utils/request';
// import { useTokenStore } from '../stores/token';
// 批改作业存放列表

export const getAssCorrectService = (pageData) => {
    return request.get('/assCorrect/list',{params:pageData})
}

export const getByIdService = (assId) => {
    return request.get('/assCorrect/'+assId)
}
// 新增批改
export const addAssCorrectService = (data) => {
    return request.post('/assCorrect/add', data) 
}

export const deleteAssCorrectService = (id) => {
    return request.delete('/assCorrect/'+id)
}

// 课程数据修改
export const updateAssCorrectService = (data) => {
    return request.put('/assCorrect/update', data)
}

